package HomeView.utlis;

public class TestUtility {

    public static void main(String[] args) {

//        要求输入一个字符串，要求不超过3个字符
        String s = Utility.readString(3);
        System.out.println("s = "+s);
// 要求输入一个字符串,如果用户直接回车则只给一个默认值
        String s2 = Utility.readString(4,"hspdu");
        System.out.println("s2 = "+s2);

    }

}
